let device = {
    namespaced: true,
    state:{
        projectName: "",          // 设备出库 --- 项目标段工点数据
		projectSiteId: "",        // 设备出库 --- 选择项目时的 工点id
		deviceComeSelcetList: [],
		checkBoxSelectList: [],
		stockSelectList: [],
		stockTempIds: [],
    },
    mutations:{
		getProjectName(state,value){
			state.projectName = value
		},
		
		getProjectSiteId(state,value){
			state.projectSiteId = value
		},
		
		// 添加至设备处单 选中的数据
		getDeviceComeSelcetList(state,value){
			state.deviceComeSelcetList = value
		},
		
		// 设备选中的项的数据 id
		getCheckBoxSelectList(state, value){
			state.checkBoxSelectList = [...new Set(value)]
		},
		
		// 设备库存 选中的设备数据
		getStockSelectList(state, value){
			state.stockSelectList = value
		},
		
		// 设备库存 选中的设备的 tempId
		getStockTempIds(state,value){
			state.stockTempIds = value
		}
    },
    actions:{

    }
}
export default device